package com.quad.innovators.salesease.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 用户分页视图对象
 *
 */
@Schema(description ="用户分页对象")
@Data
public class SysUserPageVO {

    @Schema(description="用户编码")
    private String userCode;

    @Schema(description="用户名")
    private String username;

    @Schema(description="手机号")
    private String telephone;

    @Schema(description="描述")
    private String description;

    @Schema(description="用户状态(1:启用;0:禁用)")
    private Integer status;

    @Schema(description="角色名称，多个使用英文逗号(,)分割")
    private String roleNames;

    @Schema(description="操作人")
    private String createUserName;

    @Schema(description="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
